SubProcess ENTITY_CREATED fix
(cherry picked from commit 8d64101)