Certain shapes could trick the inside/outside test. An edge between 2 planar faces could be selected for detecting face-flipping (which failed). While this could be prevented by skipping those edges, use a method which searches for the outer most face-loop, then check it faces the center.