I actually think these were the guys causing the problem this PR is addressing. I think the bug can be fixed by just removing these variables and getting the stats from the flow created by the Job.