Fix in layers rmin/rmax calculation and their accounting in track navigation.