Fixes in PTPivot and PTTextReport