Fixed an issue where filteredRows was changing rows