Fix a behavior when uniqueItems is false for array