Added check for indexing fields for MSH segment