Fix not all spells being detected