Bug fix for creating new group