Found a bug in splitting slides. Fixes #19