fixes issue #32 empty filters cause errors