Mistake in the DB code

Removed mistake