Added checks for REPORT_SIZE and REPORT_COUNT > 0