Reset last wire ID after apply*() generation