fdo#86572: Increment row position *only when* the row ref is relative.

This is just a simple oversight.

Change-Id: I024777c46641cce3410a20f40c48f47ad6a5dade
(cherry picked from commit 52781a55441cb270ffecc2522d1e069141a21607)
fdo#86572: Write test for this.

Change-Id: I00c3eaac473f0464e923e785cc50ad6769c78d41
(cherry picked from commit 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9)