Fix active class on history tabs.