randomElement enhancement 

Hi,
randomElement did not work with associative array, now it will (I hope!).
Thank.