[checkmk-commits] Simplify _filter_active_hosts a bit: Move duplicate handling to call sites