Fix solr crash when odd number of double quotes