Fixed #2631.
Merge branch 'sequence-tab-bugs' into demo