Doesnt function
That means that door is controlled by another variable, it maybe *operated* by the folding wing key event, but perhaps they just trapped the event and then acted on another variable, the easiest thing would be asking to Flight1.
Of course, you can always configure the door status to be ignored, so it will always work, but of course the crew won't wait for the door to be opened, so they will be appear to pass through the bulkheads, if you don't open the doors.