Fix duplicates in auto complete