Drop duplicates when indexing with unique.
Merge pull request #10 from Battlefy/fix/indexing-drop-dupes

Drop duplicates when indexing with unique.