Fixed escaping for solr query.