Here you are comparing the point of the caret instead of the word the caret points to.  Consider the case where the caret is moved but the new position still points to the same word.  Do you need to do any work in that case?  I'm still trying to digest this tagger so I'm not sure if you do or don't.