Fix error in plugins when failures isn't set