Yet another fix to VariableTree copying...
Merge pull request #1739 from setowns1/bug

Yet another fix to VariableTree copying...