Fix Array#== not properly comparing children

Only if children were arrays then were they properly compared. This
commit fixes that.