when adding the order by clause to the sites download query, I put it in a place that interferred with the detection and correction of the year filter
adjusted the max for rfact