Try to fix the refresh of the Foreign keys. Didnt.

I think there must be a setting in the DB I see "Action on update: None"
is set right now.