Print all notes

Tried the Notes report in a Book consisting a Table of Contents and the Notes Report. It fails.

173945420: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/gramps/gui/plug/report/_bookdialog.py", line 711, in on_book_ok_clicked
    BookDialog(
  File "/app/lib/python3.11/site-packages/gramps/gui/plug/report/_bookdialog.py", line 993, in __init__
    self.make_book()
  File "/app/lib/python3.11/site-packages/gramps/gui/plug/report/_bookdialog.py", line 1063, in make_book
    rpt.write_report()
  File "/home/districtsupport/.gramps/gramps52/plugins/NoteReport/note_report.py", line 115, in write_report
    self.write_note(note_handles)
  File "/home/districtsupport/.gramps/gramps52/plugins/NoteReport/note_report.py", line 198, in write_note
    self.doc.write_styled_note(
  File "/app/lib/python3.11/site-packages/gramps/plugins/docgen/odfdoc.py", line 1502, in write_styled_note
    markuptext = self._backend.add_markup_from_styled(text, s_tags, "\n")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/gramps/gen/plug/docbackend/docbackend.py", line 290, in add_markup_from_styled
    tag = self.find_tag_by_stag(s_tag)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/gramps/gen/plug/docbackend/docbackend.py", line 231, in find_tag_by_stag
    if tagtype.STYLE_TYPE[typeval] == bool:
       ~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: -1