diff --git a/internal/scripts/dev_tools/compile_official_release_notes.py b/internal/scripts/dev_tools/compile_official_release_notes.py
index 4aba87605..1b797c3f7 100644
--- a/internal/scripts/dev_tools/compile_official_release_notes.py
+++ b/internal/scripts/dev_tools/compile_official_release_notes.py
@@ -51,6 +51,9 @@
 for cat in issues:
     nums = sorted([int(item) for item in issues[cat].keys()])
     print(f"  .. dropdown:: {cat}\n")
+    if not nums:
+        print('     None\n')
+        continue
     for num in nums:
         print(issues[cat][str(num)])
     print()