Fix synchronization on wrong object [ci skip]