Fix range display and calculation.