[BUG] fixed ArrayEqual logic error