Fixed slide class test if options clearSlides it set to true.