Joins don't need to use same vars on both sides any more.

Closes #753