Fix issue when we specify duration twice in CsvReporterFactory.

Fix issue when we specify duration twice in CsvReporterFactory while creating CsvReporter.