Fix empty game queries being accepted