Bugfix: Or helper function was not constructing the correct condition

Quick bugfix for "Or" helper function, which was generating a condition using the second argument twice.