Clear deleted files from the db during the sync process.