Removes categories with no children and no products when loading a categories collection