It's impossible to remove spells from a hero using scripts, so there's no bug. I hope all the spells are level 3 or lower?
And that's at the maximum level of Dark Magic.
I've only just started the labyrinth, but it's all there already.
It's impossible to have higher levels because there's nowhere to learn spells higher than level 3 in the first town, the castles only offer spells up to level 3, and there are no spellbooks or utopias that grant spells.