This is a bug introduced by the 3.21 patch which shifts the spell ids. You need to redo the scripts for all the mages that were saved in the turn files.
Yeah, I fixed it. I had to do a lot of rescripting that turn anyway, due to a rather large lizard infestation cropping up in the south of my empire. Hopefully this turn will go better than the last