Adapt to first,last from current SetRange(); fixes AliROOT.