Fix synchronize local

Fixes issue #9606