You can move the group checks outside, too.