Make sure list style does not add empty panes to the list.