isArray/equal fix