Lacing issue to check if multiple groups are mirrored

Hi, trying to get the reference group list to check through its correct list of groups to check. Example below. It sort of seems to be working but list 0 and 2 are longer lists and seems to be failing :confused: