correct usage of group check Fixes #26