Sanity check to see if hashtag in URL and href of anchor exists