Undefined values hashing