Hi,
The issue as far as I can tell is on the Cassandra side, indeed I was able to reproduce the issue you describe (the last row of page 1 gets added when as the first row of page 2 with a "SELECT .... IN ..." CQL query) against Cassandra 3.4, updating to Cassandra 3.7 or Cassandra 3.0.8 resolves the issue.
So far it does not seem like a driver issue, if you have an example to share I could test against a Cassandra 3.7 node, or if you could check that your are able to reproduce your issue against a Cassandra 3.7 node, that would help.
Thanks.