added clear_query_cache to random matchup generator