Fix infinite recursion when initializing sub-class of array scalars.