Fixed bug in calculation of discount expiration date