Make it look for both kinds of query

add a check on req.query along with req._query for different versions