JoinMatcher: fix stupid bug

I really have to wake up and do tests.
Fix all joining rules, and test them