Tiny bug fix in success rate calcutation.