Fix maxOccurs