Fixed a bug in json2solr