Fixed a bug where the arg could not be found if the URL had any query parameters.