When deleting a word, also delete a space before it.
Fix for check spelling, check links, selection