[Alarm] Update type match check.

* JIRA: PTSDK-1141, PTSDK-1142