Fix editing of groups in dashboard