SolrSelectUtils: bug fix infinite loop