Fixed a bug in removing some firewall rules