Make category autocomplete work without issues.