Fix bug populate array of object
Merge pull request #2014 from chetverikov/3.8.x

Fix bug populate array of object