Fixed syntax errors and bugs caused by the merge and/or divergence of the master branch vs. the Transforms branch.
Fixed statistics functionality for variables with data transformations.