Fixed edge case, now accepts a “MaxSlides” interval