fixing ESubdocumentValidator bug with subarray indexes

here it is