Fixes paging and next timestamp update.