SubProcess ENTITY_CREATED fix

fix for ENTITY_CREATED events for subprocesses.