Occupied is not the same as working.
Empty, occupied and being worked are three different states. A door blocked by a trailer that finished at 10:30 is capacity you have, not a dock that is full, so the next allocation goes where there is actually room.


