Respawn code kills the player when changing levels

I’m working on a small game project for school with multiple levels. I needed environment damage so I implemented the respawn code from the UE4 documentation. (https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/RespawnPlayer/Blueprints/)

The problem is that changing levels triggers the code to kill the player and the player is just stuck. Is there any way around this or better respawn blueprint code I could use?