Adding query for clearing out duplicates before setting index.