Restore new tx purposes correctly.