Deal with invalid indexes
We can run into this via the data(int) function if it doens't get to a valid row.