Fix check if object is Array.

#392