Fixes to ForwardsOnlyRow

Index management logic on ForwardsOnlyRow was complicated and triggered
two bugs (see tests). Redid logic in a simpler way.
Merge pull request #345 from roji/forwards_only_row

Fixes to ForwardsOnlyRow