Fixed typeahead bad requests issue