Fixing <nr2xstsZ> 'Undefined Index error (whole_as_object)'