fix MergeValuesTask for mixed values