@kovid: As far as I can tell, it's all of them. I went back to the old db backend and checked, they all seem OK there. I also ran an SQLite integrity check with no errors. Other than changing library or the check library, everything seems OK.
I have just put a database at
http://www.alpha.net.au/~dforrester/metadata.db.