Add UpperBounds with comparison object.
Merge branch 'upper_bounds_comparison'