Fixed adding empty attributes to ldap