BACKLOG-5398 : fixed ldap search, don't return result for unmatched search