1/3 paging unit test fails

Hello,
My paging unit tests pass for ‘cast’ and ‘genres’ filters but fails for the ‘text’ filter.
Even the text filter unit test only fails on the last assertion.

I thought this can only happen if the sorting is incorrect and only for the text filter. Because the previous 2 tests passed. But the sorting was already implemented…

I am skipping the appropriate number of items and limiting to the number of movies per page.
How could the first 2 tests run, and also checks on the initial part of the returned cursor but just not for the last page?
Has the db been updated with different different data?

Thanks,
-Sachin