Fix bug to select the proper index of slice with traces.

The index starts in 0 and is the same as the index of the example array.
Make release 2.1.6

Major changes:

* Fix fatal bug introduced in the previous release in the selection of the index of the slice with traces.