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

...tibility.