Fix quoting issue in new _dwim_add_transform function