Fix problem when trying to display job status page