Remove duplicate entry of groups