Small DB bug