Fix IndexAndJoinPicker dropping Right Join

There was a bug where it was dropping the right join, replacing it with an inner join, when there was a comparison to a constant on the inner join.