Fixed users-with-errors list on diag dashboard, fixed debugging code