v.22.6Bug Fix

Fix Error in Dictionary Join Conditions

Fix error on joining with dictionary on some conditions. Close #37386. #37530 (Vladimir C).