Restore old hardcoded join to the relationship table for backwards compatibility.