Put refresh_tagcounts in the transaction queue. Fixes races.