Fix EDI analysis RS check