fix minoccurs=0 for sequences