Fix a small bug in Google sync