Fixed a SIGSEGV during synchronization.