Corrected bug with an incorrect number of failed students