RemoveDeadNodes is more comprehensive and run more often.