Simplify JobStatus code