Swc-1860: fix default tab history behavior