Fix sometimes validation for nested arrays