Fix conversion of constants.