Fix for null subcategories.