msi: Reorder the condition operators so that longer strings are matched first.