Fix closest if exactly on last segment of path