Fix sub category and sub sub category plugin
Revert back to old method for categories