Prevented duplicate favorites through search