Fix duplicates coming in the results