Fixed possible exceptions with out of range spell targets in the spell effect editor.