Fix #940 - Corrected handling of nullable/non-nullable mixed type join e...

...quality expressions
invert condition for simplicity