URL fragments are compared as decoded strings to prevent firefox from refreshing the page unnecessarily