Fixed an autocomplete bug.