Fixed autocomplete bug.