Fixed failcount scope