PERF: fix series slice indexing performance
Merge pull request #6372 from immerrr/fix-perf-for-series-slices

PERF: fix performance for series slices (even more)