Fix bug: sanitize_request_parameters condition