Avoid pushing history state if the URL isn't actually changing