Fixed the definition of allowed failures