Fixed wrong reporting of line number in case of line duplication.