Misha Koshelev : msi: automation: Fix automation object reference counts when objects are created.