get database filter working again. closes #18