fixed getItemsRandom so model state is set properly, just as in getItems, refs dioscouri/amritasingh-f3#68