That was caught by a test run on AWS, where there's an unused Kibana index, resulting in scrolls returning more results than expected.
See https://ci.hibernate.org/blue/organizations/jenkins/hibernate-search/detail/master/791/tests/