Fix remaining issues with the browsing history