TMDM-7451: "Validation result info error for wrong foreign key infos referenced with foreign key"

Fix incorrect referenced type for FK when FK info points to wrong type.