Updated match query completely and now it sets match to true using mealId etc.