Don't crash when entering a value into cell at MAXROW position.

Beucase that would be bad.

Change-Id: I7ce22105d88346f1cda12897eb57923dee8bd467