handle OR operations via distinct var names joins.
fixed in join of variables