search no longer contains duplicates