Fix the api endpoints to make game filter work