corrected a validation bug,
invalid input was being sent to report generation