Add addtional strictness in the is_valid_array_fixed function.