BUGFIX: discounttype field on new batches