Allow paths to be set when they contain query params