Bug in group formation solved