Fixed the csv: now exporting just for the filtered search.