amend newest history entry for unknown ids