Fixed NonNegativeSlices bug