There might be a problem with the cell numbering changing at run so that the current cell has a larger index than the ones below.