Fixes double WHERE and field name ambiguity if sourceWhere or destinationWhere are used in Join