Factored out with_time_range scope into OvirtHistory class.