She think waitress is serving dessert served closes after the end of the meal.
The waitress thought she would end up being served dessert after eating it.
She thought that the waitress is serving desserts to come off at the end after finishing eating.