Import revision 49083 from the v5-34-00 patch branch:
Humm we meant GetLast()+1 not GetEntries ..


git-svn-id: https://root.cern.ch/svn/root/trunk@49084 27541ba8-7e3a-0410-8455-c3a389f83636