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

this is a fix for  little bug that happens when the user is using a range slider and moves the handles to the min or to the max it doesn't exactly sets the values arrays with the mix or max values