fix for can_filter_by