Just to bring all up to date....

I deleted all line items with a value of 0 in the options_id field of the products_attributes table of the database.

All is fine now.