added fix for elastic pagers so they don't allow paging forward beyond bounds