Fixed bug in group creation. When constraints were violated the view was the wrong one.