Fixed error with reading JobDetails