Deal with empty db cases