Fix telemetry calculation.

In some cases the end timing is only valid if the start time is
non-zero.