Ensure there actually was an element in the queue to return