Now handles arrays and strings.

Repeat for notmatches