Fix deletion at end of line.

Currently, after a CTRL + E, deletion with backspace fails at the end of a line.  This commit fixes that.