Fix processDiagnosticMessages script issue with a 1.4 merge