Example:
https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&diff=270820733&oldid=270794820
In the example above, essentially, the first half of
== Openstreetmap uploads == (snip) <nowiki> == {{int:license-header}} == (snip) </nowiki>
was archived, leaving
== {{int:license-header}} == (snip) </nowiki>
which doesn't make sense. The bot should either remove all of the lines above or leave all; it should not remove a half of them.