Fix victory check.