Fix for adding multiple slides