added the new fields of the search form in the query