Error: Corrupted note

Some of my cards on one of my notes seems to be corrupted. Whenever I attempt to view, edit, or delete the card I get the following error (see below), or (in the case of Anki Mobile) the app crashes.

This problem occurs both on Anki Desktop and Mobile. The note is a cloze deletion note with a high number of cards associated with it. The error only occurs when the card is empty. However, all attempts to delete the empty cards or entire note (via the “empty notes” option, manually through the browser, etc.) have failed.

As the problem was going on for some time and was only recently discovered, reverting to a backup version of the deck is not possible.

Any suggestions in how to proceed would be greatly appreciated.

Anki Version
Version ⁨2.1.44 (b2b3275f)⁩
Python 3.8.6 Qt 5.14.2 PyQt 5.14.2

Operating Systems:
Anki Desktop: Windows 10
Anki Mobile: Android

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-06-22 06:40:09

Caught exception:
Traceback (most recent call last):
File “aqt\taskman.py”, line 88, in _on_closures_pending
File “aqt\taskman.py”, line 59, in
File “aqt\emptycards.py”, line 82, in on_done
File “concurrent\futures_base.py”, line 432, in result
File “concurrent\futures_base.py”, line 388, in __get_result
File “concurrent\futures\thread.py”, line 57, in run
File “aqt\emptycards.py”, line 77, in delete
File “aqt\emptycards.py”, line 100, in delete_cards
File “anki\collection.py”, line 402, in remove_cards_and_orphaned_notes
File “anki_backend\generated.py”, line 407, in remove_cards
File "anki_backend_init
.py", line 106, in _run_command
anki.errors.DBError: DBError { info: “IntegralValueOutOfRange(3, 66111)”, kind: Other }

https://faqs.ankiweb.net/when-problems-occur.html

I´ve followed the step listed in the link, and still I am having problems. When I attempt to delete the empty cards via “empty cards” option, I get the following error.

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-06-26 08:36:17

Caught exception:
Traceback (most recent call last):
File “aqt\taskman.py”, line 88, in _on_closures_pending
File “aqt\taskman.py”, line 59, in
File “aqt\emptycards.py”, line 82, in on_done
File “concurrent\futures_base.py”, line 432, in result
File “concurrent\futures_base.py”, line 388, in __get_result
File “concurrent\futures\thread.py”, line 57, in run
File “aqt\emptycards.py”, line 77, in delete
File “aqt\emptycards.py”, line 100, in delete_cards
File “anki\collection.py”, line 402, in remove_cards_and_orphaned_notes
File “anki_backend\generated.py”, line 407, in remove_cards
File "anki_backend_init
.py", line 106, in _run_command
anki.errors.DBError: DBError { info: “IntegralValueOutOfRange(3, 66111)”, kind: Other }

Did you try Tools > Check Database?

Yes, but it didn´t solve the problem.

Thank you for the report, the next beta should handle this in the DB check.