Fixed issue using the wrong, or too many lines in the data viewer