Fix overzealous cleanup.