Fixes deep recursion in the ArraySource.