modify line 210 from filter_list to filterIntersection