Fix a crash when trying to erase one-beyond the last character in a non-empty document.
Fix a crash when trying to erase one-beyond the last character in a non-empty document.

jpetrie/quip,jpetrie/quip