Tag markdown not properly clearing?

What I did: General navigation

What happened: Noticing random characters in past notes are being highlighted as tags. Thinking it might be related to having deleted or changed an old tag in that line of text. I use tags to mark things as ‘open’ or ’todo’ then remove tags and add commentary. I tried deleting sections and retyping but later it still appears.

What I expected: If i delete a tag, whatever unseen tag markdown indicators should be deleted as well and random letters within text not intended to be tagged should remain untagged

Things that might be helpful to know (Agenda version, OS and model, etc): Version 2.2.1, macOS High Sierra

We have some changes coming in a few days that will hopefully help this kind of situation. It is indeed related to merging changes from different devices.