Fixes foreign key name.