Setting query parameters when the DH_REBUILD_SEL_CUTOFF configuration option is specified caused a query to fail with error SQL_ERR_INVNUMSTR. The parameter value assignment did not correctly handle all parameter types before recalculating the selectivity of the query. All parameter types are now correctly processed with this option.