Fix foreign key constraints.