Fixed a permissions error with deleting groups