Fix undead states.