Improve autocomplete fallback detection