Fix bug when cogScagnostics is not available in Hadoop makeDisplay