Collapse not working with search_after with single sort field and PIT

Passing the sort provided when using a PIT includes a tiebreaker which is more than one field. I needed to programmatically remove the tiebreakers from my search_after sort to get search_after to work with collapse.
So the sort I was provided was:

    "sort" : [
      "ABCDDEFG12345678",
      123456
    ]

So I would use

    "search_after" : [
      "ABCDDEFG12345678"
    ]