Bugfix in GroupMatrix.