fix bug: if a file was deleted remotely, the parsed change might also delete the folder