Querying an ArcGIS Enterprise hosted feature service using the featurelayer.query method and attempting to save using the featurelayer.save method fails with the error message, "Error 001558: Error parsing json file. A row with this OID already exists".