Fixed superfluous ampersand when queries are embedded in paths