Fix case when SPV more than num of slides

Fixes #242