Fixed traffic stats so it counts failed transfers too