Fixes persistence of cleanup user groups after a group deletion.
Merge pull request #322 from castaf/fix_cleanup_user_groups

Fixes persistence of cleanup user groups after a group deletion.