I did the Dunn test using the following code:

Code:
dunntest rating, by(outcome) ma(bonferroni)
I ended up getting a p-value of 1 for some pairwise comparisons, which I assume is an error since the data is not the same for any of the groups compared. How do I fix this error?