Fix missing closing brace in string representation of list.