When grouping query results, headings are shown even if there's no results. These can be removed manually, but it would be a useful addition to the feature to be able to show headings only when there are results with that property.