[SDB] Minor optimization.

I'm a tiny pull request. Merge me. :(