fixed error in custom solr query builder