I’m up on the Sunshine Coast. While working my bees this morning, a swarm issued. Therefore the bees are confident of being able to rebuild during the coming months. Therefore, with that mindset, they’ll keep producing drones. The bees will continue to produce drones while they think there is a chance that a virgin queen will need mating. Even after the last swarm has issued, there’s always the possibility that emergency queens will need to get mated. With that in mind, it would be fair to assume that colonies will keep drones while it’s possible for virgin queens to perform mating flights. That would coincide with when major predators (in the natural world), bears for example go into hibernation.
The queen can’t get confused, she’s just an egg laying machine. She only lays eggs in cells that have been prepared for her specifically for the purpose of raising brood. It’s the colony that determines that. Then she will be fed according to how many eggs the colony wants her to lay.