Issue 9507: transposed() behaves poorly with jagged range of ranges
Merge pull request #2786 from quickfur/issue9507

Issue 9507: transposed() behaves poorly with jagged range of ranges