Added missing foreign keys