Fixed issue in #959 by filtering href to ensure just working with the hash portion of a URL.