Bugfixing categories in autocomplete