Make aggregate_line_relation more useful