The joins are not determinate. Please make them determinate as part of this fix; it will make it much easier to detect differences like this in the future.