Small bugfix with menu-expand and hidden pages

If all child pages are hidden, the parent page doesn't get the class
"menu-expand" any more