Fix for assignment form group bug

Also added a check for the min/max group members values (ensures that min <= max).
Put one space between the method name and the first argument.