Add check that hash is not equal to "#" in matchInPanel function

There was an odd edge case where the hash variable could end up as just "#" if the url was structured like "url.com#?query=query" (note the "#?").  This caused Sizzle (jQuery) to throw an error when called as an argument like ":has(#)".  Might be better to look at fixing the regex so it can't match just a "#", but this was a pretty quick fix to just check against "#".