Fix invalid ranges of spell occurence in Mage Guild (#10946)