Fix negatives

Fixes a problem with handling negative numbers in perfdata.