Bugfix for history tab redirect