Fixed a bug in tr2solr.