Fix bug in imcs_dup_hash_initialize