Correct generate report nil case. Replace nil? with empty?