Fix maxOccurs type

maxOccurs is now able to accept either an int or 'unbounded'.