Fix comparison of PIDs.