Allow validMatches to be an array