Fix CommonNode references to $children instead of $nodes

Unless different behaviour is expected?