Fixed bug with row indexes not set correctly when maintainOddEven was set to false.