Bug fix in the diagnostic display template