- Fixed bug in Reference when no path existing but the query string has some
         '/' characters in it. getPath() returns StringOutOfBounds exceptions.
         Reported by Nicolas Rinaudo.