Fix fold check.