Change swapFilters() parameters to new filters first