Correcting the order of the insertion of foreign keys into the CanCareFor table