Loop through child nodes and add to scope.  Fix for bug #124