Fixes for Learn Spell action