That's not a bug, it's just how the game works. The programming is written with the understanding that the customers will enter at a specific rate and blocking the doors may stop you seeing them enter, but it doesn't stop the programming from thinking they've entered. As such, the game will sometimes appear from our end to have sold all of our food in an instant Quick Sale but from the game's pov, it all sold steadily as it should.