fix(subcategories): handle missing subcategories