References #2639: Fixed typo in AbstractGroupTask.getGroup() that caused premature return.  Added unit test.