title: Cassandra paging on a primary key list does not work
body: <p>I have a problem with the pagination in cassandra with python connector. I would like to paginate on a list of primary keys.</p>
  <p>Here is the schema of the table:</p>
  <pre><code>client_data.store (
      id text PRIMARY KEY,
      &quot;additionalCols&quot; text,
      format text,
      name text
  )
  </code></pre>
  <p>Here is what I have in database:</p>
  <p><a href="https://i.stack.imgur.com/CXzxd.png" rel="nofollow noreferrer">database content</a></p>
  <p>I would like to have pages of 5 rows by filtering on id from 1 to 15.</p>
  <p>I make a first query :</p>
  <pre><code>stores = (
              Store.Cql.objects.all()
              .filter(id__in=[str(x) for x in range(1, 15)])
              .limit(5)
          )
  </code></pre>
  <p>and I get the columns with id :</p>
  <pre><code>['1', '10', '11', '12', '13']
  </code></pre>
  <p>I take the last element, in this case '13' then I do</p>
  <pre><code>last_element_pk = '13'
  token = Token(last_element_pk)
  stores = (
              Store.Cql.objects.all()
              .filter(id__in=[str(x) for x in range(1, 15)], pk__token__gt=(token))
              .limit(5)
          )
  </code></pre>
  <p>and I get :</p>
  <pre><code>['1', '10', '11', '12', '14']
  </code></pre>
  <p>I don't understand why I have common ids?!</p>
  <p>I use cassandra:4.0.1, and cassandra-driver = &quot;^3.25.0&quot;</p>
  <p>Thank you for your help</p>