Made a better fix for the uninitialized job_state
variable in recov_attr. Fixes broken unit test