Update local search to remove duplicates