Reset sequences if modifier is part of sequence

Fixes #118