Fix but in range creation.