Fix sync to correctly send source metadata.