Fixed DOM clone in histories