bringing validateArray in line with new core rule