Fixed loading of subcategories issue