filter dbobject builder refactorized