Fixed problem where the initial hash was stripped.

For #254.