Detect duplicates on "reindex"