Only write hash when we're actually storing hashes. This should fix bug #2935207.
Only write hash when we're actually storing hashes.
This should fix bug #2935207.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb