fix agent bulk billing with quantities, RT#31610