Update Progress Bar

Update the way the minimum and maximum values are set for the progress
bar.