Slide deletion now working properly