small fix to pagination to handle edge case for cursor pagination when the scoped has .includes
small fix to pagination to handle edge case for cursor pagination when the scoped has .includes

mchitten/api,quirkyinc/api,mchitten/api,quirkyinc/api,quirkyinc/api,mchitten/api,micahlmartin/api,micahlmartin/api,micahlmartin/api