Add scrub support for index rebuilding. Fixes #40