Fixed type check for array value type