Escape LDAP filter value
Fix warning on undefined string