Fixes the wrong values (NaN) in the connection tooltips.