I think your issue might be that your Area2D is set to either only interact with other areas, rather than bodies, or that you've simply connected the wrong signal from the Area2d Node. Try connecting onspellbodyentered(), and see if that fixes it.
If that only fixes the wall issue, then I think you are right that the area is dying right when it spwans, as the frame in which the area enters a body, it will call the signals you have attached. This includes the frame it spawns.
If worst comes to worst, you could add a check in the spell script that the body you are colliding with is not the same one which cast the spell to begin with.
hope this helps, comment below if you want more details :)