There is similar behavior with pan priests casting quick roots with no manikin or vine creatures of any type in the army, and earth mages casting armor boosting spells on units with no armor. Very irritating.
Sometimes also scripted with powerful spells affecting whole combat, like "Darkness", death mages prefere to raise dead if the opponent's army is not big enough.