More fixes to pipestat