PooledLdapRepository fix for search()