Fixed error when stats facet is empty