Corrected victory checking