I’ve seen the same issue as anon469793, with \w +nd, and also the same errors with a zero-width-space occurs inside \w.
If I understand Shegnada correctly, she’s saying that \k is not checked to see if it occurs in the glossary, and thus no errors will be produced (but you’d never know that a word marked with \k in the text is not listed in the glossary.