Fix server-side DB bug.