Fixed bug with symlink to directory deletion