a patch for solrpy to fix bug