Fixes JOIN duplication issue when default join type equals given join type (issue #373)
Merge pull request #641 from arvenil/fix-issue-373-join-duplication

Fixes JOIN duplication issue when default join type equals given one (issue #373)