DB/SAI: Fix a couple errors.