BUG: Fix dropdown not being reset after typing a few characters and hitting 'Enter'