Fix 'sequence' plugin error.

If 'terms' is a string, replace it with a single item list.