Remove repeat names in autocomplete.