Fix bug when ldap memberof search returns []