fix join conditions
Merge pull request #1 from camus-unhcr/patch-1

fix join conditions