Ignore -1 sync id on the server (#14084)

Change-Id: Iad73c44852c207f29381d59bea25275ac8f24dbd