Fix reopen first history tab