fix Issue 13472 - trying to insert a null into an array of object segfaults the compiler
Merge pull request #3994 from 9rnsr/fix13472

[REG2.066] Issue 13472 - trying to insert a null into an array of object segfaults the compiler