Fix IsConsistent function
Rate-limit alarms of different types separately