Fix cleric spells function