[BUGFIX] Deleted flag is not updated during file indexing