Fixed #2526 - add line numbers to sequence.