Avoid undefined index errors.

Avoid undefined index when not tracking CPU time.