Validatin of Foreign Keys