Fix for issue #144. Last slide clears out and won't delete, thus not causing errors.