Fix 'select-a-word' command not behaving correctly when cursor is on the first character of a word.