fix empty set when using restrictions.in
don't try to pull alarms if we didn't match any nodes
reformat criteria classes