xlrstats: fixed KeyError in correctStats()