Add check of params in diagnostics.html.haml