Fixing Issue Where Some Hashes Cannot Be Decoded

Fix for issue #7 and new test case
Also, a test path where we'd have arrays of integers that would make sub-hashes that starts with `"0"`...