Fix page load typeahead bug.