Fix path completion when UTF8 char is occurring before match characters.

Small fix to #8838 so completion works again on: `"β $dir_space\\space"`, @tkelman, @ivarne
I still don't understand.  `s[length(s)-start+2]` works fine.