Fixed settings range not being updated properly.