Limit the search in processSequenceButtons to outermost sequence.

This fixes deform issue #197
Add changelog for PR #198
Merge pull request #198 from martin-sucha/upstream-issue-197

Limit the search in processSequenceButtons to outermost sequence.