added array support for startsWith validator