Absolutely, your second death should also not have happened either, the doorways should have been safe :/
Depends on where the light comes from, the door ark may not be safe at all.