Fixing the issue with agency autocomplete.