Fixing getQuery() usage in WMain with new route system