The issue related with the wrong value being returned by the event output structure in fields "FromIndex" and "ToIndex" was solved.
Updated how to use instructions.