Fix precedence problem with pending join conditions

http://www.doctrine-project.org/jira/browse/DC-944
Merge pull request #4 from SlikNL/master

Fix precedence problem with pending join conditions