Changes done in order to remove double discout bug in case of coupons.