'Replace media: copy relationships' - correct bug where hash in target URL was breaking search for the URI