Fix the accidental bypassing of unhash_records

This should fix https://github.com/ludicast/yaml_db/issues/54 and https://github.com/ludicast/yaml_db/issues/64. The same fix seemed to be present in at least https://github.com/ludicast/yaml_db/pull/45 and https://github.com/ludicast/yaml_db/pull/56.