BZ-1017578 - Simulation engine starts less instances than is set if the process contains a parallel gateway
(cherry picked from commit 34c4feae7acd71c27ce67630fa7b091e7df977ff)