Fix validation return from array