Fixed problems with the optionality of repetitive fields when validating