Eliminate double-checking in the state_hash_table.