Fixes bug for catch history link in extension popup