fix min_occurs for tail choice and sequence