Secondary SBG Report card term is set incorrectly when generating Report Card History
When using secondary SBG report cards (and I assume GRD also), we populate the marking period header fields for the entire year (allowing space for the marks, even if there are only grades in the first marking period) so the report cards look consistent throughout the school year. With these headers populated, then when generating Report Card History, the "term" field is set to the value of the last marking period of the school year, along with the corresponding description. This is incorrect and confusing to students/parents. The term value should instead be based on the current marking period that just ended (and for which grades were initialized). This behavior changed sometime in spring 2022 - it used to work correctly. And now it is inconsistent with how elementary SBG report cards work.