logic to exclude groups from autocomplete.