Remove duplicates in searches