Make sure that the PID check is actually checking the hidden files as well