Small fix in the calculation of the amount of relevant lines