fix #833 - only display subcategories in the header that have articles or children