Fixed bug in previous commit - empty content should create empty hash.