A local category_label in _build_report_modal() shadowed the class-level category_label field (the question's topic tag near the stem). Renamed the local to report_category_label.