updated query for when a doubles player is looking for a match