EDT-647 Selecting "unlink" won't work if the cursor is just after the linked text.

https://youtrack.mindtouch.us/issue/EDT-647