another bug fix in Invoke-AllChecks