Query for dn attribute only when looking for group membership.
 - Relates to #187