corrected tie probability conditions and calculations