Fixed perfdata UOM check

Thanks to Jason Filley for the report.