The range variables get filled with the range from the query options, not with the range in the timeSrv object. This means that panels that use a relative time override get the correct values from the __range variables. Fixes #17102