Fixes a bug when the simulator send a msg to only one VM before the VM has received its id