fixes a bug that prevents to get the max/min value when the max percenta...

Hi Kyle
could you review this fix for  little bug that happens when the user is using a range slider and moves the handles to the min or  max positions, and the sliders doesn't exactly sets the values to the configured min and max values