transform: More care when transforming with nodata-values