Fix incorrect results when applying some timing operations to