This fixes the req.query being empty