Fix array/object mismatch