LDAP group check not working with SQL expansion