fix for insertions or deletions after a word with space=True (should fix bug as reported by Pleun)