isSequentialArray check added (for better arrayhash handling)