one-line fix the situation when trying to use "Enter" key to confirm the autocomplete fails.