Fix a bug with copy-pasting resolved references