Random was not the problem - I was overcounting the hole cards.