dbna
We have to look up, how dbna is created in f_db().
On second thoughts it is not catching all cases that should be in there. It catches just those lines where all entries that are filterd for have the value na. But if you have a row, that passes the filter for all but one parameter it does not pass the filter but we do not know if it should. Anyway it is not catched by dbna but it should.