Fixed bugs in slideshow data processing.