Fixed setPaginationRanges #42