fix fatal error when renaming group with no users