Fixed error in Listings foreign key statement