Fix sometimes validation for nested arrays
Merge pull request #4076 from jarektkaczyk/bugfix/Fixes-sometimes-validation-for-nested-arrays

Fix sometimes validation for nested arrays
Merge branch '4.1' into 4.2
Fix spacing.
Spaces, not tabs.