The code for vertical line was assuming that we necessarily neeeded vertical lines for all the elements. Which is not true since we are not drawing vertical and horizontal lines for collections. Patch made in contribution with Philippe Schmid (@Quetzal).