Optimize database queries for CSV reports.
Fix issue with duplicate assessment feedback options.