Fixed slicing range for real this time

Last fix was in an obsolete file. I deleted the old file and made the
necessary changes in the new one.