Fix printing/saving of workgroups