Fix simplifiication from join relation to join function setting the wrong global cardinality.
Fix simplifiication from join relation to join function setting the wrong global cardinality.

gsdlab/chocosolver,gsdlab/chocosolver