Remove nil values from the request params