Check for empty db