[FIX] XQuery, GH-1047: Correct offset for iterator over XQuery arrays.
Merge pull request #1048 from LeoWoerteler/gh-1047

Correct offset for iterator over XQuery arrays