fix accidental resetting of TimeWorked value, #28459