Fix ldap_delete to actually work