Pagination should be able to accept null options.after

We should be able to do something like:

Paginate(
  Match(Index("myIndex"), "287789708167086593"),
  {
    size: 20,
    after: If(
      IsEmpty(Var('nextToken')),
      null,
      Ref(Collection('myCollection'), Var('nextToken'))
    )
  }
);

Currently, if we do this, we will get an empty array as data, which is not desirable. after = null should be the same as after not being provided, so it should start from the beginning.

I found a workaround that seems to work, that is to set the after to an empty array:

Paginate(
  Match(Index("myIndex"), "287789708167086593"),
  {
    size: 20,
    after: If(
      IsEmpty(Var('nextToken')),
      [],
      Ref(Collection('myCollection'), Var('nextToken'))
    )
  }
);