Toggle logic in _database_has_content