the selective reindexing is updated to support deleted records.