Moved traversal joins before all other joins.
Merge pull request #960 from MattiasBuelens/2.x

Moved traversal joins before all other joins.