added an empty check on discount line item wrapper