Add wrappers for lower_bound and upper_bound