validateVisitGroupField missing to interate to next field for else case, which fault lead "Incorrect NumInGroup"
missing a line like this: fieldStack = fieldStack[1:]
fieldStack not iterated to it's next element, that's why quickfix raised such error "Incorrect NumInGroup count for repeating group"
this is the original: