Fix association of hits to straight paths