Smart search block exam subdeck error

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

Error message (don't change this)
Anki 25.02.5 (29192d15)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-26.5-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "/Users/pablosaldana/Library/Application Support/Anki2/addons21/1322529746/gui/utils.py", line 806, in _raise_exception
    raise e

  File "/Users/pablosaldana/Library/Application Support/Anki2/addons21/1322529746/gui/utils.py", line 823, in wrapper
    return filter(first, *args, **kwargs)

  File "/Users/pablosaldana/Library/Application Support/Anki2/addons21/1322529746/gui/js_message_handling.py", line 152, in _on_js_message
    note_ids = list(aqt.mw.col.find_notes(search_string))

  File "anki.collection", line 683, in find_notes

  File "anki._backend_generated", line 1680, in search_notes

  File "anki._backend", line 172, in _run_command

anki.errors.SearchError: <p>Invalid search: <U+2068>a group <code>(...)</code> was found, but there was nothing between the brackets to search for. If you want to search for literal brackets, wrap them in double quotes: <code>"( )"</code>.<U+2069></p>

Sentry link (for developers)

Hello,

Did the error ocurred after you clicked this button? What was your search content?
image