Fix propagation of LDB errors through TDB.