#291 autocomplete uses ORM and results are based on search type