Fixed lowercase/uppercase matching in autocomplete.