Fixes issue where it misses the last value
Fixes issue where it misses the last value

Explanation:
If the last value in the view is of length 1, it skips that value.

Eg: 1,2 will be interpreted as 1.

foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2