Assumption: no local databaseversionheaders implies all remote databases are unknown is false. If all databaseversions are deleted, remote database files might be known, but empty.
Patching numbers in tests
Check database
Merge branch 'bugfix/cleanup-checkpoint' into bugfix/cleanup-checkpoint-delete-not-in-winner