Fix checkprocess to not report false positives