Add a setting to hide empty parent categories, not just hide empty sub-categories

Request: Add a setting to hide empty parent categories, not just hide empty sub-categories