Fixed double function issue with the UDF merge.