History panel: better reconciling of hda states within history and hda collection