Fixing insertion in single list.