Fix regression in close_replace_key test created by #1245.