Fixes autocomplete select fields