Duplication in SData query

I am querying the Opportunities table using SData using the pagination in queries startindex=1 then startindex=26, etc, and the query is returning duplicates. i.e. later queries return records that have already been returned.

Has anyone else experienced this? Any solutions?