For very large seekpoint indices, the casts necessary for the "simple" subtraction comparison will yield wrong and overflowing results. Therefore, we perform the seekpoint comparison manually instead.