[FIX] XQuery, GH-704: Allow grouping variables to shadow each other.
Merge pull request #714 from LeoWoerteler/gh-704

[FIX] XQuery, GH-704: Allow grouping variables to shadow each other.