Error message when undoing card

When going back to a prior card, I use the undo command z shortcut. I am able to navigate to the previous card, but upon answering the card I am unable to continue and instead get hit with an error message. I disabled any add-ons I had and the problems persists. I also tried to do undo through the drop down menu (without the shortcut), but the problem persists. Only way to overcome this problem temporarily is to “check database.” However if I undo a card the same error persists.

Any help would be appreciated.

Anki 2.1.42 (8eebfe18) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.6
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2022-01-02 07:14:04

Caught exception:
Traceback (most recent call last):
File “aqt/”, line 526, in handler
File “aqt/”, line 337, in _onAnswerButton
File “aqt/”, line 270, in _answerCard
File “anki/”, line 126, in answerCard
File “anki/”, line 149, in _answerCard
File “anki/_backend/”, line 222, in answer_card
File “anki/_backend/”, line 106, in _run_command
anki.errors.InvalidInput: Invalid input: ⁨not at top of queue⁩

Try the latest version. This is probably fixed because undo handling changed in 2.1.45