Backed out changeset 004d84a6905a (bug 1017862) for assertion failures on a CLOSED TREE