Remove active effects from spells that no longer exist

hasSpell throws when the Spell record doesn't exist. This properly removes the effects of that spell instead of making the game unplayable.

@AbduSharif this might fix the issue you ran into when trying to load the save in #6331 (closed).

Merge request reports

Loading