DB/Misc: Error fixes

Closes #13182