Fixed bug resulting in broken line items relations after edition of multiline SO.