Fixes virtual relationships being mapped twice