fix creation of primal solr queries in TrendingSolrQueryBuilder