Small fix for csv-recording