fix: fixed bug when any ldap lookups would fail after the first one