Cleaning up random message query (it now returns a variable number of random queries and runs really fast)