Fixing a small bug with derived paths and intersections