sequencer.c: remove implicit dependency on the_index