Fixed missing header field in CSV output