Victims who were put in a tax avoidance scheme later targeted by HMRC received advice from accountants who were being paid a commission.