Hello, thanks for your report.
This is working as intended: the hero talent takes a priority over Troop Spells/Traits. If you would like the correct troop spell to summon please adjust the selected Talent from your Talent tree or remove the Hero from the team.