Fixes link between JobExecution and JobInstance