Fix deleting stale symlinks