BUG: Pass the slice key for extended slices.
BUG: Bug-for-bug compatibility with the old slicing code.

As explained in the added unit test, the old code has suboptimal behavior with
respect to extended slices, but there is code that relies on it.