Fix URI fragment setter bug that affects URNs