fixed bug that displayed alarms for deleted entities