Fixed improper symlink deletion