Added search by legacy_dn for group contacts