Corrected query string for routing