Firewall: Fix slow generation of host table in firewall groups