Fix bug in check for overwritten manifest versions that results in
deletion metadata being erroneously updated. This bug was masked by
the bug fixed by commit 87c6304ddbbeada7013f2cdb2e0974c2b18b2d4a.