There are two ways to arrange the ranks for form a 9 high hand, the one you mentioned and 2-3-4-6-7-8-9. The number of suit combinations without forming a flush is 47-4*(combin(7,5)*3^2+6*3+1) = 15,552. So the probability of a 9 high hand is 2*15,552/combin(53,7) = 31,104/154,143,080, or 1 in 9,911. If you were to play just five times the probability of getting 2 9-high hands would be 1 in 9,826,685. That this happened is a coincidence I believe as opposed to a fault in the random number generator or the coding of the program.