Traverse active children, not all children, to support Switch nodes.