Order typeahead datums by uri string length.
Remove uri params after they've been placed into the uri.