Performance fix for no children.