Fix toArray when @base isn't a property