BF: fix Cython TypeError from negative indices to tuples

It looks as though Cython now raises a TypeError if you use negative indices
with the boundscheck decorator, even if these indices are to tuples.

Use positive indices instead.