Improve list handling for summary.