Undo doesn't work correctly after dragging untagged notes to tags

Testing version: 2.0 10757

What were you doing: Dragging notes from the Untagged sections to tags on the sidebar

What feature did you use: command+z (undo)

What happened: Another previous action got undone (a note I had deleted a few minutes ago)

What did you expect to happen: I expected it to undo the tag dragging (which added a tag to a note and made it dissapear it from Untagged), not some other unrelated action.

Only thing I could do to undo my action is manually removing the tag that the dragging created, which in turn updated the note modification date (which I didn’t want to).