PRD-3857: Large crosstab reports broke on pagebreak due to an error in the calculation of row positions.