Fixing bug which prevented many nodes to synchronize in simulation mode.