Remove externally deleted files from cache in order to avoid false duplicates