Fix possible problem in GrailsJobDetail.