Fixed a bug regarding regimen checking.