Fix duplicate path detection.