Do not set display line number for invalid lines