Limit the search in processSequenceButtons to outermost sequence.

This fixes deform issue #197