Corrected the issue groups are getting duplicated.