Fixed error in SequenceOf type generation