Fix pasting lists.