Looking at the code, these two arise when the cursor _is_ in the attribute, but the attribute value is blank or perhaps otherwise malformed... so the original string was incorrect.