Fix for flickering autocomplete menu

The dropdown menu flickers as the user types because it's being hidden then re-shown, but not on the same tick (due to the _.defer). By pushing `hideAutoComplete` to within the deferred call, it won't flicker. It's a bit easier on the eyes.