Fixing autocomplete for related entity selector