Fix sqlAgeAtFirstDiagnosis

Missing CAST function