chore(): remove console.log
fix(history): tabs lose history after switching tabs

It was possible that when switching between tabs, and creating a
navigation history in one of the tabs, then switching tabs again, it
could clear out the individual tab stacks under certain scenarios.
Closes #1978