Fixed issue #133 identified by @yh-kwok.
Regression results are not affected. This may affect some meshes where contacts and interfaces intersect.