(fix) Update matches endpoints for for proper query.