Removed condition for no children elements

I removed condition that checks if category has any elements under it. It checked only first level.

Probably better would be check if any child category has elements, but it would be more time consuming while opening the tree, so I choosed this way.

Issue: http://bugs.modx.com/issues/9951