Each row goes into a block in the schema, and when a new row is generated, a new block appears. When a row is deleted, that block should disappear entirely. However it is keeping parts of the xml block.
For instance, normally the block would be like below, and would have whatever values each column has from the form inserted.
When removing the row however, I will have random columns left in an incomplete block:
This causes my process to interpret there being another row in the XML to insert values into a database based off a SQL statement. This insert fails because it is missing some values. It shouldn't have that partial block there at all.