Fixing Indexer for HDBits

Fixes #406
Fixes #382