Hi Michael,
The problem of offsets seems to be universal. If there is a structure within structure. The offset to the members of inner structure should be the size of the outer structure and not size of inner structure. Applying this rule recursively, offset to the member of any nested structure, at whatever level of nesting it is, should be same as the size of the outermost structure. But the code as of now, is using the size of the immediate parent.
None of these problems are caught in the regression because, whatever tests I have seen are not fetching more than one tuple into such complex structure.