When deleting, entry not found should not be logged as an error

DeleteDB() returns the error and HasKeyDB() should be called before DeleteDB() if we are not sure that a key already exists in the database.