Fix hash value computation used for URI creation