Tender add check for empty db