Correct invalid intersections