Core/SAI: Fix processing linked events when return is used in ProcessAction

Thanks Discover-

Closes #10688