Fix missing counter updates when importing/queuing