Correct aggregateLine example

fixes #964