Fix solr deserialization bug.