Fix week number offset issue in years where Sunday isn't in the same year
Fix uploads again fro detailed reports.