Fix for download on reports