On the probability of a rational outcome for generalized social welfare functions on three alternatives