Misc bugfixes incl' weird SOLR facet count bug.