cpml: correct put_intersections() bug