Fixed a bug in the type check for setters which takes arrays.

Now properly tries to auto-instantiate if fed an array of arrays.