Fix clipping of labels in course outline

TNL-189
The ending index is exclusive. I would expect label.substring(0, this.maxLabelLength)