fixes excel download of summary when there is a single record in mongo map reduce