Revert "BUG: the secondary indexing is whack with strings & streams"

This reverts commit 393ec9bcab599c35509409523f92386bf44ccc32.
Bump version to 1.0.4