Fix problems with SOLR and multiple keys.