Fixed #1339: Update argument order for transform_reduce