Fix to data type conversion when passing parameters.

Provided by enapps.
: