Fix for bad alarms detection in buchets (bug 925755)