Fix arraySlice shim