Properly handle smaller PGIDs with spaces.