Bug 2882: Fix off-by-one usage of cursor.

No match.