Avoid duplication in searches

Search results now do not return duplicated results