Query to select duplicates.
Merge pull request #674 from UM-USElab/duplicates

Query to select duplicates.