Scripts/Spells: fix logic fail in q9874