Revert "Fix hash index"

This reverts commit 28c5758a00f8a7408d5761bd879212e5efeaa5e7.