Make sure the template also returns the appropriate list of subcategories