NPE fix

Fixing null pointer in cases when there is error returned from solr and
there are no facets