Fix timestamp pagination.