small improvements in cat_filter
implemented date_filter

issue #53