Fixed issue where path was not including url parameters.