Repair bug in former commit related to data collection.