Fixing fail_interval check.