Remove bogus anchor from URL