Fixed a bug in TargetSpell that allowed a spell to select itself as target (#491).