Fix transacting the wrong task