Implement only_untreated filter for alarms endpoint