Fixed bug for symlink path when removing links
Added extra check for folder symlinks when removing