- Fixed error with updating bound when the last cell is erased.
- Added test for this.