Open facets only if they are not empty
Add language facet, refs #5234