fix bug when writing to a dotted field source when the last component doesnt yet exist on the related object