Use copy of groups array to loop through when doing bulk delete.