Fix incorrectly created group. Closes #710