Fix stats in get-trace-stats