Either wait icon (or other icons if this problem can be replicated with some other legs) is shown in the leg or the leg is removed from the summary. Legs with no content should never be shown.
In rare cases it's possible that there are legs in itinerary summaries with no content as icon did not fit in the available space. This happens at least with wait legs.
If the amount of legs is small we can force the walking and waiting icons to be displayed. However there will cases with large amounts of legs and in those cases the icons should be hidden.