Fix a bug that was preventing autocomplete from working in Chrome