Fixing warnings in sales report.