Fixed problem in LDAP entry when constructing from map