Fix LocationTransform such that it only replaces data that is non-null.