PLAT-5731 Attempt to fix DiscountingFunction when CurveConstructionConfiguration contains Issuer type. (Joan)