Fix error when job detail values were not strings