Fix in typeahead. SimulateBadLatency now a constant.