Fix 'sequence' plugin error.

If 'terms' is a string, replace it with a single item list.
Merge pull request #2701 from chamill/devel

Fix 'sequence' plugin error.