AVALANCHE: Fix bug in Sequence.