Corrected error when generating reports on mochahost related to target
date.