Fix LineEndConcatenation to handle chained concats