fixed; corrupted sub-doc array

closes #1408
release 3.6.2