Added support for hashes with trailing /