Fix possible issues with WarnIfParallelComputingBug

Fix possible issues with WarnIfParallelComputingBug