I ran into the same thing when I was iterating over all the rows and setting the focused item to the first one. I'd occasionally get a focused event with a row index of one more than should have been possible and a column that made no sense whatsoever - probably 8801162. I just added the sanity check and forgot about it.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.