fixed a delete recursive sync issue with linked directories