Fixed issue of groups with zero children