Fixed a bug in SaveAndSync with the local and server modified dates.