fixes LDAP search when org unit is set to null