Add duplicated intersection remotion to CalcCurveIntersectionPoints.