Autocomplete Bugfix: var candidates = substring_matches