Fixing a bug with an empty queue