Unable to "Reset an optional tag group"

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.66 (70506aeb) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.4.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-10-20 09:25:59

Traceback (most recent call last):

  File "/Users/Diego/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 364, in <lambda>
    lambda: _on_reset_optional_tags_action(browser),

  File "/Users/Diego/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 475, in _on_reset_optional_tags_action
    tag_group_names_with_deck = [

  File "/Users/Diego/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 476, in <listcomp>
    f"{extension_name} ({deck_config.name})"

AttributeError: 'NoneType' object has no attribute 'name'

Sentry link (for developers)

@ProductTeam Looks like this is caused by having an entry in deck_extensions but with missing corresponding deck in decks (Probably because the user unsubscribed from the deck).