Originally Posted by stevenvanharen
Just deleting is not a good idea. Just use stitchMesh.
After using stitchMesh you will see the boundaries are still present in the boundary file bu they will contain 0 faces. You can just delete them from this file in this case (don't forget to change the number of boundaries at the top of the boundary file).
One time i've forget to change the number of boundaries