Fix issue with distributed output being generated wrongly.