update method add_filter() for compatibility with django 1.5