Add 'has-kids' class to top-cat and sub-cat, when they have child entries