Resetting currentIndex when reindex-process is cancelled. Fixes #17.