DB/Misc: Fix a couple errors I introduced.