AFAIK the issue stems for the the fact that the object will only record a total of 2 zones and you don't have direct control over which zones it records. So if you have more then 3 zones in the same area as the door then you will have some problems. My suggestion would be to turn the ceiling zone of (using layers) for the generation of the schedule, then you know the door wont record that zone which will leaving open to recording the zone you want it to.
As I said, the door picks up 2 zones and this is so you can select whether the door belongs to the zone it opens into or the zone it opens from. This is done using the a checkbox provided in the objects paramters, usually under "Parameters for Listing" and used to be called "Door belongs to zone into which it opens", I don't have AC24 open to see what it is called now. This is the only selection you function you have so remember to make sure you turn off unnecessary zones so you object picks up the correct ones.
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
website:
https://cadswift.com.au/
YouTube:
https://www.youtube.com/user/CADSwift/playlists