Fixing possible issue with `remove()` on StringVec

There is not remove() on StringVec so we need to make sure we are always
handling a list.

Fixes #347.