Fix erroneous double reporting of the same line.