Fixed transaction for negative values and changed the max to 20 bags