Sort the autocomplete suggestions by  relevance to the entered term
rather than frequency, using startswith. Also make sure the autocomplete
dropdowns do not cover the text inputs.