Fixed issue with query parameters not being passed in.