Clear manual sync property after, not before

Clear manual sync property after, not before.