Fixed a problem in editing Spell Variants.