vbridge: Fix foreign key handling.