Fixed one last bug in sync.