Fixed issue with "query" search type.