Fix how foreign keys are displayed in drop downs