Fix binding nil groups.

Do not try to bind a group when its dn cannot be found.

/cc @mtodd