added fix for query creation with empty search criteria in Solr