Weak convergence of randomly indexed sequences of random variables